package com.corffen.design;

import java.util.Locale;

public class ForcastDisplay implements Observer {
    @Override
    public void update(float temperature, float humidity, float degree) {
        System.out.println(String.format(Locale.CHINA, "forcast temperature:%f,degree:%f", temperature, degree));
    }
}
